package com.syg;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author syg
 * @version 1.0
 * @date 2021年11月4日14:06:37
 */
@RestController
public class AutoMethodDemoService {

    @RequestMapping("/testGetBean01")
    public void testGetBean() {
        // AutoMethodDemoService service = StaticMethodGetBean01.getBean(AutoMethodDemoService.class);
        Object service = StaticMethodGetBean01.getBean("autoMethodDemoService963963963963");
        System.out.println(service.hashCode());
    }
}
